package com.controller.api;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.controller.backend.BaseController;
import com.core.Result;
import com.core.ResultGenerator;
import com.entity.cond.BaseCond;
import com.entity.model.Customer;
import com.entity.model.CustomerCoupons;
import com.util.CalendarUtil;
import com.util.HttpRequest;
import com.util.webpage.PageData;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import tk.mybatis.mapper.entity.Condition;

import javax.crypto.BadPaddingException;
import javax.crypto.IllegalBlockSizeException;
import javax.crypto.NoSuchPaddingException;
import javax.servlet.http.HttpServletResponse;
import java.io.UnsupportedEncodingException;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;
import java.security.NoSuchProviderException;
import java.util.*;

@CrossOrigin(origins = "*", maxAge = 3600)
@RestController("apiDvController")
@RequestMapping("/api/dv")
public class DvController extends BaseController<Customer> {

    @RequestMapping(value = "/zhuapaiInfo")
    public Result zhuapaiInfo(String Name, String TimeStamp, HashMap<Object, Object> Data, HashMap<Object, Object> CaptureInfo) {

        return ResultGenerator.genSuccessResult();
    }
}

